package com.zzf.单例模式.优化后的懒汉式;

public class People {

    private static class Inner{
        private static final People people = new People();
    }

    private People(){}

    public static People getPeople(){
        return Inner.people;
    }

}
